package com.shiku.im.user.dao;

import com.shiku.im.repository.IMongoDAO;
import com.shiku.im.user.entity.UserChanceSettings;

public interface UserChanceSettingsService extends IMongoDAO<UserChanceSettings, Integer> {

    UserChanceSettings getSettingsByUserId(int userId);

    UserChanceSettings getDefaultSettings();

    void addOrUpdateSettings(int userId, String str, Float bigStart, String bigStr);

    void addOrUpdateSettingsToAll(String str, Float bigStart, String bigStr);

    UserChanceSettings init(int userId);
}
